<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.min.js"></script>
	</head>
	

	  <body>
	     <div id="app1">
	       <select v-model="goodsId">
	         <option value="">请选择所要购买产品</option>
	         <option v-for="item in kindList" v-bind:value="item.id" v-text="item.name" ></option>
	       </select>

           你选择的值是{{goodsId}}
	     </div>
	      
	     <script>
			 var app1=new Vue({
			      el:'#app1',
			      data:{
					  kindList:[{name:"小可爱",id:1},{name:"小仙女",id:2},{name:"小宝龙",id:3}],
			 		  goodsId:"",
					 },
			 
			 });
	    </script>

	